global {
  -- objective sameX(a, b)
}

Point x {
  shape = Dot {
    text = Auto
  }

  objective centerLabel(x, x.shape.label)
}

Point `a` {
  objective center(a)
}

Point `b` {
  shape = Dot {
    location = addVector(-100.0, -200.0, a)
    text = Auto
  }
}

Set X {
  shape = Circle {
    color = computeColorRGBA(1.0, 0.2, 1.0, 0.5)
    radius = computeRadiusToMatch(X, b)
    text = Auto
  }
  
  objective centerLabel(X, X.shape.label)
}
